package lzsrkpt.api.demo;
import java.util.List;

public class ResponseBase {
    private String code;
    private String msg;
    private List<ErrorsList> errors;
    public String serialNo;

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return this.code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getSerialNo() {
        return this.serialNo;
    }

    public void setErrors(List<ErrorsList> errors) {
        this.errors = errors;
    }

    public List<ErrorsList> getErrors() {
        return this.errors;
    }

    public class ErrorsList {
        private String field;
        private String errCode;
        private String msg;

        public void setField(String field) {
            this.field = field;
        }

        public String getField() {
            return this.field;
        }

        public void setErrCode(String errCode) {
            this.errCode = errCode;
        }

        public String getErrCode() {
            return this.errCode;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getMsg() {
            return this.msg;
        }
    }


}


